package com.projectfixit.dao;

import com.googlecode.objectify.Key;
import com.googlecode.objectify.ObjectifyService;
import com.googlecode.objectify.helper.DAOBase;
import com.projectfixit.entity.AuthDO;

public class AuthDao extends DAOBase {
	static {
		ObjectifyService.register(AuthDO.class);
	}

	public AuthDO getAuthDO(String id) {
		return ofy().find(AuthDO.class, id);
	}

	public Key<AuthDO> putAuthDO(AuthDO ado) {
		return ofy().put(ado);
	}
}
